package com.sojoys.artifact.third.activemq;

import java.util.Arrays;

/**
 * @author : DengYing
 * @CreateDate : 2017年4月26日 下午4:07:44
 * @Description ：Please describe this document
 */
public class ActiveMQRequest {
	/**
	 * 消息唯一ID
	 */
	private String id;
	/**
	 * 接口名称
	 */
	private String interfaceName;
	/**
	 * 方法名称
	 */
	private String methodName;
	/**
	 * 参数类型
	 */
	private Class<?>[] parameterTypes;
	/**
	 * 参数值
	 */
	private Object[] parameters;
	/**
	 * 是否需要返回
	 */
	private boolean receive;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String className) {
		this.interfaceName = className;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Class<?>[] getParameterTypes() {
		return parameterTypes;
	}

	public void setParameterTypes(Class<?>[] parameterTypes) {
		this.parameterTypes = parameterTypes;
	}

	public Object[] getParameters() {
		return parameters;
	}

	public void setParameters(Object[] parameters) {
		this.parameters = parameters;
	}

	public boolean isReceive() {
		return receive;
	}

	public void setReceive(boolean receive) {
		this.receive = receive;
	}

	@Override
	public String toString() {
		return "ActiveMQRequest [id=" + id + ", interfaceName=" + interfaceName + ", methodName=" + methodName
				+ ", parameterTypes=" + Arrays.toString(parameterTypes) + ", parameters=" + Arrays.toString(parameters)
				+ ", receive=" + receive + "]";
	}
	
	
	
}
